#pragma once
struct ASDCONFIG 
{
	unsigned int uiCount;
	char pTextBuf[256];
	char pUrlBuf[256];
	unsigned int uiSecond;
	COLORREF color;
	ASDCONFIG()
	{
		memset(this, 0, sizeof(ASDCONFIG));
	}
};
class CRead
{
public:
	CRead(void);
public:
	~CRead(void);
	int	 GetAdsCount(void);
	bool ReadConfig(void);
	int  DeleteStruct();
	ASDCONFIG *m_pConfig;
	CMap<CString, LPCTSTR, CString, LPCTSTR>m_oAdMap;
private:
	int  SetAdsMap(void);
};
